package com.song.shop.mongodb;

import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author Song Yinghui
 * @date 2019/8/21
 * @Version 1.0
 */
@Document(collection = "product")
public class Product {
    private Integer id ;

    private String peoductName ;

    private Double price ;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPeoductName() {
        return peoductName;
    }

    public void setPeoductName(String peoductName) {
        this.peoductName = peoductName;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }
}
